#include "internal_combustion_engine.h"

InternalCombustionEngine::InternalCombustionEngine(const std::string &model, const int &year, const std::string &fuelType, const int &cylinders)
    : Engine(model, year), _fuelType(fuelType), _cylinders(cylinders) {}

void InternalCombustionEngine::Show() const
{
    std::cout << "Internal Combustion Engine: " + _model + ", year: " << _year
              << ", fuel type: " + _fuelType + ", cylinders: " << _cylinders << std::endl;
}
